package com.neu.his.entity.request.UserManage;

import com.neu.his.entity.request.PageParams;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Description: neu-his
 * <p>
 * Created by 31316 on 2020/7/16 21:05
 */
@Data
public class UserPageParams extends PageParams {
    String username,password,name;
    List<Long> department,userType;
    int jobTitle;

    public void init(){
        if(username==null) username="";
        if(password==null) password="";
        if(name==null) name="";
        if(department==null) department=new ArrayList<Long>();
        if(userType==null) userType=new ArrayList<Long>();
    }
}
